import React, { Component } from 'react'
import { Result, Button } from 'antd'

export default class index extends Component {
  render() {
    return (
      <Result
        status="404"
        title="404"
        subTitle="老哥，这不是你该来的地方~"
        extra={
          <Button
            type="primary"
            onClick={() => this.props.history.push('/home')}
          >
            返回首页
          </Button>
        }
      />
    )
  }
}